<?php

/* @var \Illuminate\Routing\Router $router */

$router->match(['get', 'post'], 'file/config', 'ConfigController@index');

$router->match(['get', 'post'], 'file/category', 'FileCategoryController@index');
$router->match(['get', 'post'], 'file/category/add', 'FileCategoryController@add');
$router->match(['get', 'post'], 'file/category/edit', 'FileCategoryController@edit');
$router->match(['post'], 'file/category/delete', 'FileCategoryController@delete');
$router->match(['get'], 'file/category/show', 'FileCategoryController@show');
$router->match(['post'], 'file/category/sort', 'FileCategoryController@sort');

$router->match(['get', 'post'], 'file', 'FileController@index');
$router->match(['get', 'post'], 'file/add', 'FileController@add');
$router->match(['get', 'post'], 'file/edit', 'FileController@edit');
$router->match(['post'], 'file/delete', 'FileController@delete');
$router->match(['get'], 'file/show', 'FileController@show');
$router->match(['post'], 'file/sort', 'FileController@sort');
